package StudyCode.summary.Basic.myint;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class IntEvenOdd {
	public static void main(String[] args) {
		int[] numbers = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};

		for (int number : numbers) {
			if (number % 2 == 0) {
				System.out.println(number + " 是偶数");
			} else {
				System.out.println(number + " 是奇数");
			}
		}
	}
}
